From: Florian Müllner Date: Wed, 22 Jan 2020 14:42:06 +0000 (+0100) Subject: extensionDownloader: Only check updates for user extensions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~99 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cbc9bc5fc664568184f8b737341e55df136d94a4;p=gnome-shell.git extensionDownloader: Only check updates for user extensions System extensions cannot be updated through the website, so don't even try. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945 --- diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index 2ae64ea44..25145564d 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -120,7 +120,10 @@ function downloadExtensionUpdate(uuid) { function checkForUpdates() { let metadatas = {}; Main.extensionManager.getUuids().forEach(uuid => { - metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata; + let extension = Main.extensionManager.lookup(uuid); + if (extension.type !== ExtensionUtils.ExtensionType.PER_USER) + return; + metadatas[uuid] = extension.metadata; }); let params = { shell_version: Config.PACKAGE_VERSION,